package com.yuanfengPlus.supplierExpense.dao;

import com.github.pagehelper.Page;
import com.yuanfengPlus.supplierExpense.model.SupplierExpenseInfo;
import com.yuanfengPlus.supplierExpense.model.SupplierPurchaseInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface ISupplierExpenseMapper {
    // 新增
    Integer insertSupplierExpenseInfo(SupplierExpenseInfo supplierExpenseInfo);
    // 查询
    Page<SupplierExpenseInfo> selectAll(Map<String, Object> params);
    // 修改
    Integer update(SupplierExpenseInfo supplierExpenseInfo);
    // 查询单个
    SupplierExpenseInfo selectOne(String id);
    // 新增
    Integer insertSupplierPurchaseInfo(SupplierPurchaseInfo supplierPurchaseInfo);
    // 删除
    Integer deleteSupplierPurchaseInfo(String supplier_expense_ID);
}
